<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册操作</title>
</head>
<body>
    <form action="" method="post">
        用户名: <input type="text" name="username1">
        密&emsp;码: <input type="password" name="password1">
        手机号: <input type="text" onkeyup="value=value.replace(/[^\d]/g,'')" maxlength=11>
        性别: <input type="radio" name="sex">男 <input type="radio" name="sex">女
        &emsp;&emsp;&emsp;&emsp; <input type="submit" value="登陆">
    </form>
</body>
</html>